package cn.kgc.service.developer.Impl;

import cn.kgc.mapper.CategoryMapper;
import cn.kgc.pojo.Category;
import cn.kgc.service.developer.AppCategoryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AppCategoryServiceImpl implements AppCategoryService {

	@Resource
	private CategoryMapper mapper;
	
	@Override
	public List<Category> getAppCategoryListByParentId(Integer parentId)
			throws Exception {
		// TODO Auto-generated method stub
		return mapper.getCategoryListById(parentId);
	}

}
